package com.gp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author 六个核桃
 * @since 2022-03-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "tb_car_comment")
public class CarComment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer clientId;

    @TableField("carId")
    private Integer carid;

    /**
     * 评价内容
     */
    private String content;

    private String addtime;

    /**
     * 评论点赞数量
     */
    private Integer useNum;

    @TableField(exist = false)
    private TbCar car;

    @TableField(exist = false)
    private TbClient client;

}
